hwmon: include <linux/io.h> instead of <asm/io.h>
Subsystems (13)
PATCH 1/1 hwmon: include <linux/io.h> instead of <asm/io.h>
Drivers should be including <linux/io.h> instead of <asm/io.h>.
---
drivers/hwmon/abituguru.c +1 -1
@@ -32,7 +32,7 @@#include <linux/hwmon.h> #include <linux/hwmon-sysfs.h> #include <linux/dmi.h> -#include <asm/io.h> +#include <linux/io.h> /* Banks */ #define ABIT_UGURU_ALARM_BANK 0x20/* 1x 3 bytes */
drivers/hwmon/abituguru3.c +1 -1
@@ -34,7 +34,7 @@#include <linux/hwmon.h> #include <linux/hwmon-sysfs.h> #include <linux/dmi.h> -#include <asm/io.h> +#include <linux/io.h> /* uGuru3 bank addresses */ #define ABIT_UGURU3_SETTINGS_BANK 0x01
drivers/hwmon/applesmc.c +1 -1
@@ -35,7 +35,7 @@#include <linux/dmi.h> #include <linux/mutex.h> #include <linux/hwmon-sysfs.h> -#include <asm/io.h> +#include <linux/io.h> #include <linux/leds.h> #include <linux/hwmon.h> #include <linux/workqueue.h>
drivers/hwmon/dme1737.c +1 -1
@@ -35,7 +35,7 @@#include <linux/err.h> #include <linux/mutex.h> #include <linux/acpi.h> -#include <asm/io.h> +#include <linux/io.h> /* ISA device, if found */ static struct platform_device *pdev;
drivers/hwmon/f71805f.c +1 -1
@@ -40,7 +40,7 @@#include <linux/sysfs.h> #include <linux/ioport.h> #include <linux/acpi.h> -#include <asm/io.h> +#include <linux/io.h> static unsigned short force_id;module_param (force_id, ushort,0 );
drivers/hwmon/hdaps.c +1 -2
@@ -35,8 +35,7 @@#include <linux/timer.h> #include <linux/dmi.h> #include <linux/jiffies.h> - -#include <asm/io.h> +#include <linux/io.h> #define HDAPS_LOW_PORT 0x1600/* first port used by hdaps */ #define HDAPS_NR_PORTS 0x30/* number of ports: 0x1600 - 0x162f */
drivers/hwmon/it87.c +1 -1
@@ -50,7 +50,7 @@#include <linux/string.h> #include <linux/dmi.h> #include <linux/acpi.h> -#include <asm/io.h> +#include <linux/io.h> #define DRVNAME "it87"
drivers/hwmon/lm78.c +1 -1
@@ -31,7 +31,7 @@#include <linux/hwmon-sysfs.h> #include <linux/err.h> #include <linux/mutex.h> -#include <asm/io.h> +#include <linux/io.h> /* ISA device, if found */ static struct platform_device *pdev;
drivers/hwmon/pc87360.c +1 -1
@@ -44,7 +44,7 @@#include <linux/err.h> #include <linux/mutex.h> #include <linux/acpi.h> -#include <asm/io.h> +#include <linux/io.h> static u8 devid;static struct platform_device *pdev;
drivers/hwmon/pc87427.c +1 -1
@@ -33,7 +33,7 @@#include <linux/sysfs.h> #include <linux/ioport.h> #include <linux/acpi.h> -#include <asm/io.h> +#include <linux/io.h> static unsigned short force_id;module_param (force_id, ushort,0 );
drivers/hwmon/sis5595.c +1 -1
@@ -63,7 +63,7 @@#include <linux/mutex.h> #include <linux/sysfs.h> #include <linux/acpi.h> -#include <asm/io.h> +#include <linux/io.h> /* If force_addr is set to anything different from 0, we forcibly enable
drivers/hwmon/smsc47b397.c +1 -1
@@ -37,7 +37,7 @@#include <linux/init.h> #include <linux/mutex.h> #include <linux/acpi.h> -#include <asm/io.h> +#include <linux/io.h> static unsigned short force_id;module_param (force_id, ushort,0 );
drivers/hwmon/smsc47m1.c +1 -1
@@ -38,7 +38,7 @@#include <linux/mutex.h> #include <linux/sysfs.h> #include <linux/acpi.h> -#include <asm/io.h> +#include <linux/io.h> static unsigned short force_id;module_param (force_id, ushort,0 );
drivers/hwmon/via686a.c +1 -1
@@ -42,7 +42,7 @@#include <linux/mutex.h> #include <linux/sysfs.h> #include <linux/acpi.h> -#include <asm/io.h> +#include <linux/io.h> /* If force_addr is set to anything different from 0, we forcibly enable
drivers/hwmon/vt1211.c +1 -1
@@ -33,7 +33,7 @@#include <linux/mutex.h> #include <linux/ioport.h> #include <linux/acpi.h> -#include <asm/io.h> +#include <linux/io.h> static int uch_config =-1 ;module_param (uch_config, int,0 );
drivers/hwmon/vt8231.c +1 -1
@@ -36,7 +36,7 @@#include <linux/err.h> #include <linux/mutex.h> #include <linux/acpi.h> -#include <asm/io.h> +#include <linux/io.h> static int force_addr;module_param (force_addr, int,0 );
drivers/hwmon/w83627ehf.c +1 -1
@@ -51,7 +51,7 @@#include <linux/err.h> #include <linux/mutex.h> #include <linux/acpi.h> -#include <asm/io.h> +#include <linux/io.h> #include "lm75.h" enum kinds { w83627ehf, w83627dhg, w83627dhg_p, w83667hg };
drivers/hwmon/w83627hf.c +1 -1
@@ -51,7 +51,7 @@#include <linux/mutex.h> #include <linux/ioport.h> #include <linux/acpi.h> -#include <asm/io.h> +#include <linux/io.h> #include "lm75.h" static struct platform_device *pdev;
drivers/hwmon/w83781d.c +1 -1
@@ -48,7 +48,7 @@#ifdef CONFIG_ISA #include <linux/platform_device.h> #include <linux/ioport.h> -#include <asm/io.h> +#include <linux/io.h> #endif #include "lm75.h"
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Jean Delvare
AppliedQuoted 11 lines · H Hartley Sweeten
Drivers should be including <
linux/io.h> instead of <asm/io.h>.Signed-off-by H Hartley Sweeten <[email protected]>Cc Alistair John Strachan <[email protected]>Cc Nicolas Boichat <[email protected]>Cc Juerg Haefliger <[email protected]>Cc Jean Delvare <[email protected]>Cc Frank Seidel <[email protected]>Cc Jim Cromie <[email protected]>Cc "Mark M. Hoffman" <[email protected]>Cc Roger Lucas <[email protected]>
Applied, thanks.
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Jim Cromie
maintainerRe: [lm-sensors] [PATCH] hwmon: include <linux/io.h> instead of
In reply to H Hartley SweetenQuoted 13 lines · Jean Delvare
Quoted 11 lines · H Hartley Sweeten
Drivers should be including <
linux/io.h> instead of <asm/io.h>.Signed-off-by H Hartley Sweeten <[email protected]>Cc Alistair John Strachan <[email protected]>Cc Nicolas Boichat <[email protected]>Cc Juerg Haefliger <[email protected]>Cc Jean Delvare <[email protected]>Cc Frank Seidel <[email protected]>Cc Jim Cromie <[email protected]>Cc "Mark M. Hoffman" <[email protected]>Cc Roger Lucas <[email protected]>
Quoted 3 lines
Applied, thanks.
Hi Jean, etal
wheres the tree ?
I checked at git.kernel.org, didnt find /hwmon/
I found this googling, it looks old. (july last year iirc)
http://lm-sensors.org/kernel?p=kernel/mhoffman/hwmon-2.6.git;a=summary
Also, wrt ack, I withheld it, cuz I hadnt gotten around to looking for it in a single tree (or to see whether it was already)
Since I never compiled it, ack'g seemed a bit overstating what a glance told me; that it looked sensible, and based on other work.
What would you have liked to hear from me in this case ?
tia
jimc
Quoted 3 lines
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] [PATCH] hwmon: include <linux/io.h> instead of
In reply to H Hartley SweetenHi Jim,
Quoted 15 lines · Jim Cromie
Quoted 13 lines · Jean Delvare
Quoted 11 lines · H Hartley Sweeten
Drivers should be including <
linux/io.h> instead of <asm/io.h>.Signed-off-by H Hartley Sweeten <[email protected]>Cc Alistair John Strachan <[email protected]>Cc Nicolas Boichat <[email protected]>Cc Juerg Haefliger <[email protected]>Cc Jean Delvare <[email protected]>Cc Frank Seidel <[email protected]>Cc Jim Cromie <[email protected]>Cc "Mark M. Hoffman" <[email protected]>Cc Roger Lucas <[email protected]>
Quoted 7 lines
Quoted 1 line
Applied, thanks.
wheres the tree ?
I checked at git.kernel.org, didnt find /hwmon/I found this googling, it looks old. (july last year iirc)
http://lm-sensors.org/kernel?p=kernel/mhoffman/hwmon-2.6.git;a=summary
In my private, unofficial hwmon tree:
ftp://ftp.kernel.org/pub/linux/kernel/people/jdelvare/linux-2.6/jdelvare-hwmon/
Quoted 7 lines
Also, wrt ack, I withheld it, cuz I hadnt gotten around to looking for it in a single tree (or to see whether it was already)
Since I never compiled it, ack'g seemed a bit overstating what a glance told me; that it looked sensible, and based on other work.
What would you have liked to hear from me in this case ?
Just your Acked-by, meaning you have no objection to the change. Obviously Hartley and myself already test-built the code.
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Re: [lm-sensors] [PATCH] hwmon: include <linux/io.h> instead of
In reply to H Hartley SweetenQuoted 10 lines · Jean Delvare
Hi Jim,
Quoted 4 lines
Since I never compiled it, ack'g seemed a bit overstating what a glance told me; that it looked sensible, and based on other work.
What would you have liked to hear from me in this case ?
Just your Acked-by, meaning you have no objection to the change. Obviously Hartley and myself already test-built the code.
ok, consider it (belatedly)
thanks.
Quoted 3 lines
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors